<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
  <meta charset="UTF-8">
  <title>userList</title>
</head>
<body>
[[${session.adminLogin.adName}]] <a th:href="@{/admin_logout}">退出登录</a><br>
<table class="user-table">
  <thead>
  <tr>
    <th>ID</th>
    <th>用户名</th>
    <th>昵称</th>
    <th>操作</th>
  </tr>
  </thead>
  <tbody th:each="user:${session.userList}">
  <tr>
    <td th:text="${user.usrId}">1</td>
    <td th:text="${user.usrAccount}">小明</td>
    <td th:text="${user.usrName}">123456</td>
    <td class="admin-manage">
      <a  th:href="@{/user_revice_jump/{id}(id = ${user.usrId})}">
        修改信息
      </a>

      <a title="删除"  th:href="@{/user_delete/{id}(id = ${user.usrId})}">
        删除
      </a>
    </td>


  </tr>

  </tbody>
</table>

</div>
</body>
</html>